package com.v5ba.web.sms.controler;

import com.v5ba.common.sms.service.SmsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class SmsControler {
    @Autowired
    private SmsService smsService;

    @GetMapping("sendMsg")
    public String sendMsg(){
        smsService.send("18611912657", "测试一下吧");
        return "ok";
    }
}
